<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GimpFileProcedure: GIMP 3 Library Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="GIMP 3 Library Reference Manual">
<link rel="up" href="libgimp-general.html" title="Functions not Related to Specific Images">
<link rel="prev" href="GimpImageProcedure.html" title="GimpImageProcedure">
<link rel="next" href="GimpLoadProcedure.html" title="GimpLoadProcedure">
<meta name="generator" content="GTK-Doc V1.33.0 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#GimpFileProcedure.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#GimpFileProcedure.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="libgimp-general.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GimpImageProcedure.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GimpLoadProcedure.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GimpFileProcedure"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GimpFileProcedure.top_of_page"></a>GimpFileProcedure</span></h2>
<p>GimpFileProcedure</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GimpFileProcedure.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GimpFileProcedure.html#gimp-file-procedure-set-mime-types" title="gimp_file_procedure_set_mime_types ()">gimp_file_procedure_set_mime_types</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="GimpFileProcedure.html#gimp-file-procedure-get-mime-types" title="gimp_file_procedure_get_mime_types ()">gimp_file_procedure_get_mime_types</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GimpFileProcedure.html#gimp-file-procedure-set-extensions" title="gimp_file_procedure_set_extensions ()">gimp_file_procedure_set_extensions</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="GimpFileProcedure.html#gimp-file-procedure-get-extensions" title="gimp_file_procedure_get_extensions ()">gimp_file_procedure_get_extensions</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GimpFileProcedure.html#gimp-file-procedure-set-prefixes" title="gimp_file_procedure_set_prefixes ()">gimp_file_procedure_set_prefixes</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="GimpFileProcedure.html#gimp-file-procedure-get-prefixes" title="gimp_file_procedure_get_prefixes ()">gimp_file_procedure_get_prefixes</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GimpFileProcedure.html#gimp-file-procedure-set-magics" title="gimp_file_procedure_set_magics ()">gimp_file_procedure_set_magics</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="GimpFileProcedure.html#gimp-file-procedure-get-magics" title="gimp_file_procedure_get_magics ()">gimp_file_procedure_get_magics</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GimpFileProcedure.html#gimp-file-procedure-set-priority" title="gimp_file_procedure_set_priority ()">gimp_file_procedure_set_priority</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gint</span>
</td>
<td class="function_name">
<a class="link" href="GimpFileProcedure.html#gimp-file-procedure-get-priority" title="gimp_file_procedure_get_priority ()">gimp_file_procedure_get_priority</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GimpFileProcedure.html#gimp-file-procedure-set-handles-remote" title="gimp_file_procedure_set_handles_remote ()">gimp_file_procedure_set_handles_remote</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GimpFileProcedure.html#gimp-file-procedure-get-handles-remote" title="gimp_file_procedure_get_handles_remote ()">gimp_file_procedure_get_handles_remote</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GimpFileProcedure.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    GObject
    <span class="lineart">╰──</span> <a class="link" href="GimpProcedure.html" title="GimpProcedure">GimpProcedure</a>
        <span class="lineart">╰──</span> GimpFileProcedure
            <span class="lineart">├──</span> <a class="link" href="GimpLoadProcedure.html" title="GimpLoadProcedure">GimpLoadProcedure</a>
            <span class="lineart">╰──</span> <a class="link" href="GimpSaveProcedure.html" title="GimpSaveProcedure">GimpSaveProcedure</a>
</pre>
</div>
<div class="refsect1">
<a name="GimpFileProcedure.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="GimpFileProcedure.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gimp-file-procedure-set-mime-types"></a><h3>gimp_file_procedure_set_mime_types ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gimp_file_procedure_set_mime_types (<em class="parameter"><code><a class="link" href="GimpFileProcedure.html" title="GimpFileProcedure"><span class="type">GimpFileProcedure</span></a> *procedure</code></em>,
                                    <em class="parameter"><code>const <span class="type">gchar</span> *mime_types</code></em>);</pre>
<p>Associates MIME types with a file handler procedure.</p>
<p>Registers MIME types for a file handler procedure. This allows GIMP
to determine the MIME type of the file opened or saved using this
procedure. It is recommended that only one MIME type is registered
per file procedure; when registering more than one MIME type, GIMP
will associate the first one with files opened or saved with this
procedure.</p>
<div class="refsect3">
<a name="gimp-file-procedure-set-mime-types.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>procedure</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpFileProcedure.html" title="GimpFileProcedure"><span class="type">GimpFileProcedure</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>mime_types</p></td>
<td class="parameter_description"><p>A comma-separated list of MIME types, such as "image/jpeg".</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-file-procedure-get-mime-types"></a><h3>gimp_file_procedure_get_mime_types ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
gimp_file_procedure_get_mime_types (<em class="parameter"><code><a class="link" href="GimpFileProcedure.html" title="GimpFileProcedure"><span class="type">GimpFileProcedure</span></a> *procedure</code></em>);</pre>
<div class="refsect3">
<a name="gimp-file-procedure-get-mime-types.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>procedure</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpFileProcedure.html" title="GimpFileProcedure"><span class="type">GimpFileProcedure</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gimp-file-procedure-get-mime-types.returns"></a><h4>Returns</h4>
<p> The procedure's mime-type as set with
<a class="link" href="GimpFileProcedure.html#gimp-file-procedure-set-mime-types" title="gimp_file_procedure_set_mime_types ()"><code class="function">gimp_file_procedure_set_mime_types()</code></a>.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-file-procedure-set-extensions"></a><h3>gimp_file_procedure_set_extensions ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gimp_file_procedure_set_extensions (<em class="parameter"><code><a class="link" href="GimpFileProcedure.html" title="GimpFileProcedure"><span class="type">GimpFileProcedure</span></a> *procedure</code></em>,
                                    <em class="parameter"><code>const <span class="type">gchar</span> *extensions</code></em>);</pre>
<div class="refsect3">
<a name="gimp-file-procedure-set-extensions.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>procedure</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpFileProcedure.html" title="GimpFileProcedure"><span class="type">GimpFileProcedure</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>extensions</p></td>
<td class="parameter_description"><p>A comma separated list of extensions this procedure can
handle (i.e. "jpg,jpeg").</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-file-procedure-get-extensions"></a><h3>gimp_file_procedure_get_extensions ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
gimp_file_procedure_get_extensions (<em class="parameter"><code><a class="link" href="GimpFileProcedure.html" title="GimpFileProcedure"><span class="type">GimpFileProcedure</span></a> *procedure</code></em>);</pre>
<div class="refsect3">
<a name="gimp-file-procedure-get-extensions.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>procedure</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpFileProcedure.html" title="GimpFileProcedure"><span class="type">GimpFileProcedure</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gimp-file-procedure-get-extensions.returns"></a><h4>Returns</h4>
<p> The procedure's extensions as set with
<a class="link" href="GimpFileProcedure.html#gimp-file-procedure-set-extensions" title="gimp_file_procedure_set_extensions ()"><code class="function">gimp_file_procedure_set_extensions()</code></a>.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-file-procedure-set-prefixes"></a><h3>gimp_file_procedure_set_prefixes ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gimp_file_procedure_set_prefixes (<em class="parameter"><code><a class="link" href="GimpFileProcedure.html" title="GimpFileProcedure"><span class="type">GimpFileProcedure</span></a> *procedure</code></em>,
                                  <em class="parameter"><code>const <span class="type">gchar</span> *prefixes</code></em>);</pre>
<p>It should almost never be necessary to register prefixes with file
procedures, because most sorts of URIs should be handled by GIO.</p>
<div class="refsect3">
<a name="gimp-file-procedure-set-prefixes.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>procedure</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpFileProcedure.html" title="GimpFileProcedure"><span class="type">GimpFileProcedure</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>prefixes</p></td>
<td class="parameter_description"><p>A comma separated list of prefixes this procedure can
handle (i.e. "http:,ftp:").</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-file-procedure-get-prefixes"></a><h3>gimp_file_procedure_get_prefixes ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
gimp_file_procedure_get_prefixes (<em class="parameter"><code><a class="link" href="GimpFileProcedure.html" title="GimpFileProcedure"><span class="type">GimpFileProcedure</span></a> *procedure</code></em>);</pre>
<div class="refsect3">
<a name="gimp-file-procedure-get-prefixes.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>procedure</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpFileProcedure.html" title="GimpFileProcedure"><span class="type">GimpFileProcedure</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gimp-file-procedure-get-prefixes.returns"></a><h4>Returns</h4>
<p> The procedure's prefixes as set with
<a class="link" href="GimpFileProcedure.html#gimp-file-procedure-set-prefixes" title="gimp_file_procedure_set_prefixes ()"><code class="function">gimp_file_procedure_set_prefixes()</code></a>.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-file-procedure-set-magics"></a><h3>gimp_file_procedure_set_magics ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gimp_file_procedure_set_magics (<em class="parameter"><code><a class="link" href="GimpFileProcedure.html" title="GimpFileProcedure"><span class="type">GimpFileProcedure</span></a> *procedure</code></em>,
                                <em class="parameter"><code>const <span class="type">gchar</span> *magics</code></em>);</pre>
<div class="refsect3">
<a name="gimp-file-procedure-set-magics.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>procedure</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpFileProcedure.html" title="GimpFileProcedure"><span class="type">GimpFileProcedure</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>magics</p></td>
<td class="parameter_description"><p>A comma separated list of magic file information this procedure
can handle (i.e. "0,string,GIF").</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-file-procedure-get-magics"></a><h3>gimp_file_procedure_get_magics ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
gimp_file_procedure_get_magics (<em class="parameter"><code><a class="link" href="GimpFileProcedure.html" title="GimpFileProcedure"><span class="type">GimpFileProcedure</span></a> *procedure</code></em>);</pre>
<div class="refsect3">
<a name="gimp-file-procedure-get-magics.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>procedure</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpFileProcedure.html" title="GimpFileProcedure"><span class="type">GimpFileProcedure</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gimp-file-procedure-get-magics.returns"></a><h4>Returns</h4>
<p> The procedure's magics as set with
<a class="link" href="GimpFileProcedure.html#gimp-file-procedure-set-magics" title="gimp_file_procedure_set_magics ()"><code class="function">gimp_file_procedure_set_magics()</code></a>.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-file-procedure-set-priority"></a><h3>gimp_file_procedure_set_priority ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gimp_file_procedure_set_priority (<em class="parameter"><code><a class="link" href="GimpFileProcedure.html" title="GimpFileProcedure"><span class="type">GimpFileProcedure</span></a> *procedure</code></em>,
                                  <em class="parameter"><code><span class="type">gint</span> priority</code></em>);</pre>
<p>Sets the priority of a file handler procedure. When more than one
procedure matches a given file, the procedure with the lowest
priority is used; if more than one procedure has the lowest
priority, it is unspecified which one of them is used. The default
priority for file handler procedures is 0.</p>
<div class="refsect3">
<a name="gimp-file-procedure-set-priority.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>procedure</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpFileProcedure.html" title="GimpFileProcedure"><span class="type">GimpFileProcedure</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>priority</p></td>
<td class="parameter_description"><p>The procedure's priority.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-file-procedure-get-priority"></a><h3>gimp_file_procedure_get_priority ()</h3>
<pre class="programlisting"><span class="returnvalue">gint</span>
gimp_file_procedure_get_priority (<em class="parameter"><code><a class="link" href="GimpFileProcedure.html" title="GimpFileProcedure"><span class="type">GimpFileProcedure</span></a> *procedure</code></em>);</pre>
<div class="refsect3">
<a name="gimp-file-procedure-get-priority.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>procedure</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpFileProcedure.html" title="GimpFileProcedure"><span class="type">GimpFileProcedure</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gimp-file-procedure-get-priority.returns"></a><h4>Returns</h4>
<p> The procedure's priority as set with
<a class="link" href="GimpFileProcedure.html#gimp-file-procedure-set-priority" title="gimp_file_procedure_set_priority ()"><code class="function">gimp_file_procedure_set_priority()</code></a>.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-file-procedure-set-handles-remote"></a><h3>gimp_file_procedure_set_handles_remote ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gimp_file_procedure_set_handles_remote
                               (<em class="parameter"><code><a class="link" href="GimpFileProcedure.html" title="GimpFileProcedure"><span class="type">GimpFileProcedure</span></a> *procedure</code></em>,
                                <em class="parameter"><code><span class="type">gboolean</span> handles_remote</code></em>);</pre>
<p>Registers a file procedure as capable of handling arbitrary remote
URIs via GIO.</p>
<p>When <em class="parameter"><code>handles_remote</code></em>
 is set to <code class="literal">TRUE</code>, the procedure will get a
<span class="type">GFile</span> passed that can point to a remote file.</p>
<p>When <em class="parameter"><code>handles_remote</code></em>
 is set to <code class="literal">FALSE</code>, the procedure will get a
local <span class="type">GFile</span> passed and can use <code class="function">g_file_get_path()</code> to get to a
filename that can be used with whatever non-GIO means of dealing
with the file.</p>
<div class="refsect3">
<a name="gimp-file-procedure-set-handles-remote.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>procedure</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpFileProcedure.html" title="GimpFileProcedure"><span class="type">GimpFileProcedure</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>handles_remote</p></td>
<td class="parameter_description"><p>The procedure's 'handles remote' flag.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-file-procedure-get-handles-remote"></a><h3>gimp_file_procedure_get_handles_remote ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gimp_file_procedure_get_handles_remote
                               (<em class="parameter"><code><a class="link" href="GimpFileProcedure.html" title="GimpFileProcedure"><span class="type">GimpFileProcedure</span></a> *procedure</code></em>);</pre>
<div class="refsect3">
<a name="gimp-file-procedure-get-handles-remote.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>procedure</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpFileProcedure.html" title="GimpFileProcedure"><span class="type">GimpFileProcedure</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gimp-file-procedure-get-handles-remote.returns"></a><h4>Returns</h4>
<p> The procedure's 'handles remote' flag as set with
<a class="link" href="GimpFileProcedure.html#gimp-file-procedure-set-handles-remote" title="gimp_file_procedure_set_handles_remote ()"><code class="function">gimp_file_procedure_set_handles_remote()</code></a>.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.33.0</div>
</body>
</html>